.class public Lcom/waiqin365/compons/camera/CameraPreviewActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;


# static fields
.field private static A:Ljava/lang/String;

.field public static f:Ljava/lang/String;

.field public static g:Ljava/lang/String;

.field public static h:Landroid/widget/FrameLayout;

.field public static i:Landroid/widget/FrameLayout;

.field public static j:Z

.field private static t:Ljava/lang/String;

.field private static u:Ljava/lang/String;

.field private static v:Ljava/lang/String;

.field private static w:Ljava/lang/String;

.field private static x:Ljava/lang/String;

.field private static y:Ljava/lang/String;

.field private static z:Ljava/lang/String;


# instance fields
.field private B:Z

.field private C:Z

.field private D:Landroid/widget/TextView;

.field private E:Z

.field private F:Ljava/util/List;

.field private G:Z

.field private H:Luk/co/senab/photoview/PhotoView;

.field public final a:Ljava/lang/String;

.field b:Ljava/util/ArrayList;

.field c:I

.field d:Ljava/util/ArrayList;

.field e:Lcom/waiqin365/compons/camera/u;

.field private k:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

.field private l:I

.field private m:Landroid/os/Handler;

.field private n:Landroid/widget/TextView;

.field private o:Landroid/widget/ImageView;

.field private p:Landroid/widget/ImageView;

.field private q:I

.field private r:Ljava/util/ArrayList;

.field private s:I


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const-string/jumbo v0, "ISFALSE"

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->f:Ljava/lang/String;

    const-string/jumbo v0, "ISTRUE"

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->g:Ljava/lang/String;

    const-string/jumbo v0, "embed"

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->u:Ljava/lang/String;

    const-string/jumbo v0, "album"

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->v:Ljava/lang/String;

    const-string/jumbo v0, "camera"

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->w:Ljava/lang/String;

    const-string/jumbo v0, "daily_main"

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->x:Ljava/lang/String;

    const-string/jumbo v0, "cm_cameratext"

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->y:Ljava/lang/String;

    const-string/jumbo v0, "daka_location"

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->z:Ljava/lang/String;

    const-string/jumbo v0, "person_head"

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->A:Ljava/lang/String;

    const/4 v0, 0x1

    sput-boolean v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->j:Z

    return-void
.end method

.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->a:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    iput v1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->c:I

    iput v1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->l:I

    iput v1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->q:I

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->E:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->F:Ljava/util/List;

    iput-boolean v1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->G:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->k:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/CameraPreviewActivity;Luk/co/senab/photoview/PhotoView;)Luk/co/senab/photoview/PhotoView;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->H:Luk/co/senab/photoview/PhotoView;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/CameraPreviewActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->E:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->q:I

    return v0
.end method

.method static synthetic c(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->n:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic c()Ljava/lang/String;
    .locals 1

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic d()Ljava/lang/String;
    .locals 1

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->u:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic e()Ljava/lang/String;
    .locals 1

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->y:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic f()Ljava/lang/String;
    .locals 1

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->x:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->C:Z

    return v0
.end method

.method static synthetic g(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->m:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic g()Ljava/lang/String;
    .locals 1

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->A:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->s:I

    return v0
.end method

.method private h()V
    .locals 3

    const/16 v2, 0x8

    const v0, 0x7f0c00b1

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->h:Landroid/widget/FrameLayout;

    const v0, 0x7f0c00b5

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->i:Landroid/widget/FrameLayout;

    const v0, 0x7f0c00b4

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->v:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/compons/camera/o;

    invoke-direct {v1, p0}, Lcom/waiqin365/compons/camera/o;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :goto_0
    const v0, 0x7f0c00b2

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->p:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->p:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/compons/camera/r;

    invoke-direct {v1, p0}, Lcom/waiqin365/compons/camera/r;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00b6

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->D:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->D:Landroid/widget/TextView;

    new-instance v1, Lcom/waiqin365/compons/camera/s;

    invoke-direct {v1, p0}, Lcom/waiqin365/compons/camera/s;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00b0

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->k:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->k:Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;

    invoke-virtual {v0, p0}, Lcom/waiqin365/lightapp/view/photopreview/PhotoPreviewViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    const v0, 0x7f0c00b3

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->n:Landroid/widget/TextView;

    return-void

    :cond_0
    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->w:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/compons/camera/p;

    invoke-direct {v1, p0}, Lcom/waiqin365/compons/camera/p;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    :cond_1
    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->y:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->B:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    new-instance v1, Lcom/waiqin365/compons/camera/q;

    invoke-direct {v1, p0}, Lcom/waiqin365/compons/camera/q;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->i:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto :goto_0

    :cond_3
    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->u:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->i:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_4
    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->x:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->i:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_5
    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->z:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->i:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_6
    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->A:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->i:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto/16 :goto_0

    :cond_7
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->i:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto/16 :goto_0
.end method

.method private i()V
    .locals 7

    const/4 v0, 0x0

    const/4 v6, -0x1

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->v:Ljava/lang/String;

    sget-object v2, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selectedList"

    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putStringArrayListExtra(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;

    invoke-virtual {p0, v6, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->setResult(ILandroid/content/Intent;)V

    :cond_0
    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->back()V

    return-void

    :cond_1
    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->w:Ljava/lang/String;

    sget-object v2, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    move v1, v0

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v3, "image_id"

    invoke-virtual {v0, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v2, "path"

    invoke-virtual {v0, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    if-lez v2, :cond_2

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {v2}, Ljava/io/File;->delete()Z

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_3
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isrefresh"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "selectedListNum"

    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    invoke-virtual {p0, v6, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->setResult(ILandroid/content/Intent;)V

    goto :goto_0

    :cond_4
    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->y:Ljava/lang/String;

    sget-object v2, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    move v1, v0

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_6

    iget-object v4, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v5, "image_id"

    invoke-virtual {v0, v5}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v4, "path"

    invoke-virtual {v0, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_5
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_6
    const-string/jumbo v0, "removeList"

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v6, v2}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->setResult(ILandroid/content/Intent;)V

    goto/16 :goto_0
.end method

.method static synthetic i(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->i()V

    return-void
.end method

.method private j()V
    .locals 7

    const/4 v0, 0x0

    const/16 v6, 0x64

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->v:Ljava/lang/String;

    sget-object v2, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selectedList"

    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putStringArrayListExtra(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;

    invoke-virtual {p0, v6, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->setResult(ILandroid/content/Intent;)V

    :cond_0
    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->back()V

    return-void

    :cond_1
    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->w:Ljava/lang/String;

    sget-object v2, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    move v1, v0

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_3

    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v3, "image_id"

    invoke-virtual {v0, v3}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v2, "path"

    invoke-virtual {v0, v2}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    if-lez v2, :cond_2

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {v2}, Ljava/io/File;->delete()Z

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_1

    :cond_3
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isrefresh"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "selectedListNum"

    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    invoke-virtual {p0, v6, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->setResult(ILandroid/content/Intent;)V

    goto :goto_0

    :cond_4
    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->y:Ljava/lang/String;

    sget-object v2, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    move v1, v0

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_6

    iget-object v4, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v5, "image_id"

    invoke-virtual {v0, v5}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v4, "path"

    invoke-virtual {v0, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_5
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_2

    :cond_6
    const-string/jumbo v0, "removeList"

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v6, v2}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->setResult(ILandroid/content/Intent;)V

    goto/16 :goto_0
.end method

.method static synthetic j(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->j()V

    return-void
.end method

.method static synthetic k(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->G:Z

    return v0
.end method

.method static synthetic l(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->E:Z

    return v0
.end method

.method static synthetic m(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->B:Z

    return v0
.end method

.method static synthetic n(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Luk/co/senab/photoview/PhotoView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->H:Luk/co/senab/photoview/PhotoView;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->F:Ljava/util/List;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->l:I

    return v0
.end method


# virtual methods
.method public a()Ljava/util/ArrayList;
    .locals 5

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    new-instance v3, Lcom/waiqin365/compons/camera/ad;

    invoke-direct {v3, p0}, Lcom/waiqin365/compons/camera/ad;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v4, "image_id"

    invoke-virtual {v0, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v0}, Lcom/waiqin365/compons/camera/ad;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v4, "path"

    invoke-virtual {v0, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v0}, Lcom/waiqin365/compons/camera/ad;->c(Ljava/lang/String;)V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->g:Ljava/lang/String;

    invoke-virtual {v3, v0}, Lcom/waiqin365/compons/camera/ad;->a(Ljava/lang/String;)V

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    return-object v2
.end method

.method public a(I)V
    .locals 3

    iget v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->l:I

    add-int/lit8 v0, v0, -0x1

    iget v1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->l:I

    add-int/lit8 v1, v1, 0x1

    if-gez v0, :cond_0

    const/4 v0, 0x0

    :cond_0
    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lt v1, v2, :cond_1

    iget-object v1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    add-int/lit8 v1, v1, -0x1

    :cond_1
    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    invoke-static {v2, v0, v1}, Lcom/waiqin365/compons/camera/ac;->a(Ljava/util/ArrayList;II)Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    return-void
.end method

.method public a(Landroid/content/Context;Landroid/graphics/Bitmap;)V
    .locals 5

    new-instance v0, Ljava/io/File;

    invoke-static {}, Landroid/os/Environment;->getExternalStorageDirectory()Ljava/io/File;

    move-result-object v1

    const-string/jumbo v2, "Boohee"

    invoke-direct {v0, v1, v2}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-nez v1, :cond_0

    invoke-virtual {v0}, Ljava/io/File;->mkdir()Z

    :cond_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ".jpg"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v0, v1}, Ljava/io/File;-><init>(Ljava/io/File;Ljava/lang/String;)V

    :try_start_0
    new-instance v0, Ljava/io/FileOutputStream;

    invoke-direct {v0, v2}, Ljava/io/FileOutputStream;-><init>(Ljava/io/File;)V

    sget-object v3, Landroid/graphics/Bitmap$CompressFormat;->JPEG:Landroid/graphics/Bitmap$CompressFormat;

    const/16 v4, 0x64

    invoke-virtual {p2, v3, v4, v0}, Landroid/graphics/Bitmap;->compress(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z

    invoke-virtual {v0}, Ljava/io/FileOutputStream;->flush()V

    invoke-virtual {v0}, Ljava/io/FileOutputStream;->close()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    :try_start_1
    invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v0

    invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    invoke-static {v0, v2, v1, v3}, Landroid/provider/MediaStore$Images$Media;->insertImage(Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    :try_end_1
    .catch Ljava/io/FileNotFoundException; {:try_start_1 .. :try_end_1} :catch_1

    :goto_1
    const v0, 0x7f080718

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0

    :catch_1
    move-exception v0

    invoke-virtual {v0}, Ljava/io/FileNotFoundException;->printStackTrace()V

    goto :goto_1
.end method

.method public b()Ljava/util/ArrayList;
    .locals 6

    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    new-instance v3, Lcom/waiqin365/compons/camera/ad;

    invoke-direct {v3, p0}, Lcom/waiqin365/compons/camera/ad;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    iget-object v4, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v5, "image_id"

    invoke-virtual {v0, v5}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v4, "image_id"

    invoke-virtual {v0, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v0}, Lcom/waiqin365/compons/camera/ad;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    const-string/jumbo v4, "path"

    invoke-virtual {v0, v4}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v3, v0}, Lcom/waiqin365/compons/camera/ad;->c(Ljava/lang/String;)V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->g:Ljava/lang/String;

    invoke-virtual {v3, v0}, Lcom/waiqin365/compons/camera/ad;->a(Ljava/lang/String;)V

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    return-object v2
.end method

.method public back()V
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->finish()V

    const/4 v0, 0x0

    const v1, 0x7f040028

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->overridePendingTransition(II)V

    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 6

    const/16 v1, 0x400

    const/16 v5, 0x8

    const/4 v4, 0x1

    const/4 v3, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0, v4}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->requestWindowFeature(I)Z

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, v1, v1}, Landroid/view/Window;->setFlags(II)V

    const v0, 0x7f03001b

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->setContentView(I)V

    :try_start_0
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    const-string/jumbo v1, "from"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isTapImgExit"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->G:Z

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->v:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "nums"

    const/4 v2, -0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->s:I

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "selectedList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "viewSelect"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->C:Z

    :cond_0
    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->w:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "idList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    :cond_1
    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->y:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "idList"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isedit"

    invoke-virtual {v0, v1, v4}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->B:Z

    :cond_2
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "position"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->q:I

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "photolist"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->h()V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->x:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->h:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v3}, Landroid/widget/FrameLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->p:Landroid/widget/ImageView;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_1
    iput-boolean v4, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->G:Z

    invoke-virtual {p0, v3}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->showDialog(I)V

    new-instance v0, Lcom/waiqin365/compons/camera/l;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/camera/l;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->m:Landroid/os/Handler;

    new-instance v0, Lcom/waiqin365/compons/camera/n;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/camera/n;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/n;->start()V

    return-void

    :cond_3
    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->h:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v5}, Landroid/widget/FrameLayout;->setVisibility(I)V

    goto :goto_1

    :catch_0
    move-exception v0

    goto/16 :goto_0
.end method

.method protected onCreateDialog(I)Landroid/app/Dialog;
    .locals 3

    const/4 v2, 0x1

    if-nez p1, :cond_0

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    const-string/jumbo v1, "\u6b63\u5728\u626b\u63cf\u4e2d...\uff0c\u8bf7\u7a0d\u5019\uff01"

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    invoke-virtual {v0, v2}, Landroid/app/ProgressDialog;->setIndeterminate(Z)V

    invoke-virtual {v0, v2}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    :goto_0
    return-object v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method protected onDestroy()V
    .locals 5

    const/4 v4, 0x0

    const/4 v1, 0x0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    move v0, v1

    :goto_0
    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->F:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v0, v2, :cond_0

    invoke-static {p0}, Lcom/squareup/picasso/Picasso;->with(Landroid/content/Context;)Lcom/squareup/picasso/Picasso;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->F:Ljava/util/List;

    invoke-interface {v3, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/squareup/picasso/Picasso;->cancelTag(Ljava/lang/Object;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    add-int/lit8 v1, v1, 0x1

    goto :goto_1

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iput-object v4, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->d:Ljava/util/ArrayList;

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iput-object v4, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    :cond_3
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    packed-switch p1, :pswitch_data_0

    invoke-super {p0, p1, p2}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    :goto_0
    return v0

    :pswitch_0
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->i()V

    const/4 v0, 0x1

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x4
        :pswitch_0
    .end packed-switch
.end method

.method public onPageScrollStateChanged(I)V
    .locals 0

    return-void
.end method

.method public onPageScrolled(IFI)V
    .locals 0

    return-void
.end method

.method public onPageSelected(I)V
    .locals 3

    if-gez p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iput p1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->l:I

    new-instance v0, Lcom/waiqin365/compons/camera/t;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/camera/t;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;)V

    new-instance v1, Lcom/waiqin365/compons/camera/m;

    invoke-direct {v1, p0, v0}, Lcom/waiqin365/compons/camera/m;-><init>(Lcom/waiqin365/compons/camera/CameraPreviewActivity;Landroid/os/Handler;)V

    invoke-virtual {v1}, Ljava/lang/Thread;->start()V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->n:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->l:I

    add-int/lit8 v2, v2, 0x1

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "/"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->v:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->w:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_2

    sget-object v0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->y:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->r:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->b:Ljava/util/ArrayList;

    iget v2, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->l:I

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/compons/camera/ad;

    iget-object v0, v0, Lcom/waiqin365/compons/camera/ad;->a:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    const v1, 0x7f020315

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/compons/camera/CameraPreviewActivity;->o:Landroid/widget/ImageView;

    const v1, 0x7f020314

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0
.end method
